package com.yuwei.play.mvi


import com.yuwei.common.entity.Res
import com.yuwei.common.mvi.UiIntent
import com.yuwei.database.entity.FavVideoEntity
import com.yuwei.play.entity.ReplyBody
import com.yuwei.play.entity.SendCommentBody
import com.yuwei.play.entity.SendCommentEntity
import kotlinx.coroutines.flow.Flow
import retrofit2.http.Body
import retrofit2.http.Query


sealed class PlayIntent : UiIntent {
    data class  getVideoRecommend(val page:Int, val pagesize:Int):PlayIntent()
    data class getVideoComment(val datatype:Int,val itemid:String):PlayIntent()
    data class sendComment(val sendCommentBody: SendCommentBody): PlayIntent()
    data class replyComment(val replyBody: ReplyBody): PlayIntent()
    data class commentDelete(val id:Int):PlayIntent()
    data class replyDelete(val id:Int):PlayIntent()
    data class getBullet(val datatype:Int,val itemid:String):PlayIntent()
    data class insertFav(val favVideoEntity: FavVideoEntity):PlayIntent()
    data class selecteByVideoId(val videoId:Int):PlayIntent()
    data class updateFav(val favVideoEntity: FavVideoEntity):PlayIntent()
}